FROM tomcat:8.5.45-jdk8
MAINTAINER shesuhui "383516619@qq.com"
RUN rm -rf /usr/local/tomcat/webapps/*
ADD ./target/ROOT.war /usr/local/tomcat/webapps/ROOT.war
EXPOSE 8080
CMD /usr/local/tomcat/bin/startup.sh && tail -f /usr/local/tomcat/logs/catalina.out